//
//  CZSettingViewController.m
//  0908网易彩票01
//
//  Created by Apple on 15/9/8.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import "ZDSettingViewController.h"
#import "MBProgressHUD+PKX.h"

@interface ZDSettingViewController ()

@end

@implementation ZDSettingViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    ZDSettingItem *item11 = [ZDSettingItem settingItemWithIcon:@"more_icon_share" andTitle:@"邀请好友使用礼物说"];
    ZDSettingItem *item12 = [ZDSettingItemLabel settingItemWithIcon:@"more_icon_score" andTitle:@"给我们评分吧" andLabel:@"奖励5积分"];
    ZDSettingItem *item13 = [ZDSettingItemArrow settingItemWithIcon:@"more_icon_feedback" andTitle:@"意见反馈" andLabel:nil];
    
    ZDSettingGroup *group1 = [ZDSettingGroup settingGroupWithItems:@[item11, item12, item13]];
    
    
    ZDSettingItem *item21 = [ZDSettingItemArrow settingItemWithIcon:@"checkUserType_icon_identity" andTitle:@"我的身份" andLabel:@"男孩 职场新人"];
    ZDSettingItem *item22 = [ZDSettingItemSwitch settingItemWithIcon:@"more_icon_notification" andTitle:@"接收消息提醒"];
    ZDSettingItem *item23 = [ZDSettingItemSwitch settingItemWithIcon:@"icon_nightmode_setting" andTitle:@"深夜显示夜间模式开关"];
    ZDSettingItem *item24 = [ZDSettingItemArrow settingItemWithIcon:@"more_icon_clear" andTitle:@"清除缓存" andLabel:@"100M"];
    ZDSettingGroup *group2 = [ZDSettingGroup settingGroupWithItems:@[item21, item22, item23, item24]];
    
    
    ZDSettingItem *item31 = [ZDSettingItemArrow settingItemWithIcon:@"more_icon_about" andTitle:@"关于礼物说"];
    
    ZDSettingGroup *group3 = [ZDSettingGroup settingGroupWithItems:@[item31]];
    
    
    ZDSettingItem *item41 = [ZDSettingItemArrow settingItemWithIcon:@"more_icon_recommended" andTitle:@"查看更多推荐应用"];
    ZDSettingGroup *group4 = [ZDSettingGroup settingGroupWithItems:@[item41] andHeader:@"小礼菌推荐应用" andFooter:nil];
    
    self.groups = @[group1, group2, group3, group4];
    
}

//- (void)dealloc
//{
//    CZLog(@"CZSettingViewController ---- dealloc");
//}

@end
